<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <link rel='stylesheet' type='text/css' href='http://fonts.useso.com/css?family=Open+Sans:300,400,600,700,400italic'>
    <link rel="stylesheet" type="text/css" href="/study/study/Public/resource/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/study/study/Public/resource/font-awesome.min.css">    
    <link rel="stylesheet" type="text/css" href="/study/study/Public/resource/css/style.css">
    <title>Welocome！欢迎访问！！</title>
</head>

<body>


 <div class="main-body">	
        <div class="container">
            <div class="row">               
                <div class="main-page">

                    <aside class="main-navigation">
                        <div class="main-menu">

                            <div class="menu-container">
                                <div class="block-keep-ratio block-keep-ratio-2-1 block-width-full home">                                    
                                    <a href="index" class="block-keep-ratio__content  main-menu-link">
                                        <span class="main-menu-link-text">
                                            主页    
                                        </span>                                        
                                    </a>
                                </div>                                
                            </div>

                            <div class="menu-container">                                
                                <div class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-left  about-main">                                    
                                    
                                    <a href="about.html" data-toggle="modal" data-target="#regModa2" class="main-menu-link about block-keep-ratio__content flexbox-center">
                                        <i class="fa fa-user fa-4x main-menu-link-icon"></i>
                                      学生登录/注册
                                    </a>                                    
                                </div>
                                
                                <!-- 登录模态框 -->
<div class="modal fade" id="regModa2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  		<div class="modal-dialog" role="document">
   			<div class="modal-content">
     			<div class="modal-header">
       			
       		 		<h3 class="modal-title" id="myModalLabel">用户登录</h3>
      			</div>
      			<div class="modal-body">
			      	<!-- 模态框内部代码 -->
			    	<!-- 这是一个模态窗口信息区 -->
			    	<form method="post" action="login" enctype="multipart/form-data" class="form-horizontal">
			    	<table align="center">
			    		<tr>
			    			<td>用户名：</td><td><input name="username" type="text" placeholder="Username"></td>
			    		</tr>
			    		<tr><td>&nbsp;</td></tr>
			    		<tr>
			    			<td>密码：</td><td><input name="password" type="password" placeholder="Password"></td>
			    		</tr>			    		
			    	</table>    	
      			</div>
      			<div class="modal-footer">
			   
			        <button type="submit" class="btn btn-primary">登录</button>
			        <button type="reset" class="btn btn-default"  data-dismiss="modal">重置</button>
			       
      			</div>
      				</form>
    		</div>
  		</div>
	</div>
	<!-- 登录模态框 -->

                                <div class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-right  contact-main">
                                    <a href="contact.html" class="main-menu-link contact block-keep-ratio__content flexbox-center">
                                        <i class="fa fa-envelope-o fa-4x main-menu-link-icon"></i>
                                       管理员登录
                                    </a>                                
                                </div>    
                            </div>   
                            
                              <div class="menu-container">                                
                                <div class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-left  about-main">                                    
                                    <a href="about.html" class="main-menu-link about block-keep-ratio__content flexbox-center">
                                        <i class="fa fa-user fa-4x main-menu-link-icon"></i>
                                      个人信息
                                    </a>                                    
                                </div>

                                <div class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-right  contact-main">
                                    <a href="contact.html" class="main-menu-link contact block-keep-ratio__content flexbox-center">
                                        <i class="fa fa-envelope-o fa-4x main-menu-link-icon"></i>
                                       社团负责人登录
                                    </a>                                
                                </div>    
                            </div>   

                            <div class="menu-container">
                                <div class="block-keep-ratio block-keep-ratio-1-1 block-keep-ratio-md-2-1 block-width-full gallery">                                    
                                    <a href="practiceslist" class="main-menu-link  block-keep-ratio__content">
                                        <span class="main-menu-link-text">
                                            活动信息    
                                        </span>                                            
                                    </a>                                    
                                </div>                                
                            </div>
                            
                               <div class="menu-container">
                                <div class="block-keep-ratio block-keep-ratio-1-1 block-keep-ratio-md-2-1 block-width-full gallery">                                    
                                    <a href="groupslist" class="main-menu-link  block-keep-ratio__content">
                                        <span class="main-menu-link-text">
                                            社团信息    
                                        </span>                                            
                                    </a>                                    
                                </div>                                
                            </div>
                            

                            <!-- sidebar carousel -->
                            <div class="menu-container">
                                <div class="mauris">
                                    <div id="carousel-menu" class="carousel slide" data-ride="carousel">
                                        <!-- Wrapper for slides -->
                                        <div class="carousel-inner" role="listbox">
                                            <div class="item active">
                                                <img src="images/slider-img-1.png" alt="slider">
                                                <div class="carousel-caption menu-caption">
                                                    mauris vita
                                                </div>
                                            </div>
                                            <div class="item">
                                                <img src="images/menu-bg-home.png" alt="slider">
                                                <div class="carousel-caption menu-caption">
                                                    lorem ipsum
                                                </div>
                                            </div>
                                        </div>

                                        <!-- Controls -->
                                        <a class="left carousel-control" href="#carousel-menu" role="button" data-slide="prev">
                                            <span class="fa fa-caret-left" aria-hidden="true"></span>
                                            <span class="sr-only">Previous</span>
                                        </a>
                                        <a class="right carousel-control" href="#carousel-menu" role="button" data-slide="next">
                                            <span class="fa fa-caret-right" aria-hidden="true"></span>
                                            <span class="sr-only">Next</span>
                                        </a>
                                    </div>
                                </div> <!-- .mauris -->
                            </div>
                        </div> <!-- main-menu -->
                    </aside> <!-- main-navigation -->
                    

                    <div class="content-main">
                      
                  
                        
                        <div class="row">
                            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                                <div class="box bottom-main">
                                    <div class="info float-container">
                                        <div class="col-sm-12 bottom-title">
                                            <h3 class="text-uppercase">社团列表</h3>
                                            <h4 class="text-uppercase">mauris vitae erat</h4>
                                        </div>
                                        
                                        
                                          
                                        <div class="row">
                                       
                                        <?php if(is_array($groups)): $i = 0; $__LIST__ = $groups;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$gr): $mod = ($i % 2 );++$i;?><div class="col-xxs-12 col-xs-6 col-sm-6 col-md-4 col-lg-4" style="margin-top:20px;">
                                                <div class="bottom-img">
                                                    <img src="/study/study/Public/uploads/photo/<?php echo ($gr["logo"]); ?>"  width=247px height=247px alt="Image">
                                                    <p class="first"><a style='color:white' href="groupInfo?gid=<?php echo ($gr["gid"]); ?>"> <?php echo ($gr["groupname"]); ?></a></p>    
                                                </div>                                      
                                            </div><?php endforeach; endif; else: echo "" ;endif; ?>     
                                          
                                            
                                        </div>
                                        <p class="bottom-desc">Duis sed odio sit amet nibh vulputate cursus a sit amet mauris. Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non  mauris vitae erat consequat auctor eu in elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Mauris in erat justo. </p><hr />
                                        <div class="col-sm-12 location-main"> 
                                          
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div> <!-- row -->
                        
                        
                        
                        
                        
                    </div> <!-- .content-main -->
                </div> <!-- .main-page -->
            </div> <!-- .row -->   
            
            
            <footer class="row">
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 footer">
                    <p class="copyright">Copyright © 2016 Company Name 
                    
                    | More Templates <a href="http://www.genban.org/" target="_blank" title="织梦源码">织梦源码</a> - Collect from <a href="http://www.genban.org/" title="网页模板" target="_blank">网页模板</a></p>
                </div>    
            </footer>  <!-- .row -->      
        </div> <!-- .container -->
    </div> <!-- .main-body -->

    <!-- JavaScript -->
    <script src="/study/study/Public/resource/js/jquery-1.11.3.min.js"></script>
    <script src="/study/study/Public/resource/js/bootstrap.min.js"></script>

</body>
</html>